package com.okami.clazz.stack;

/**
 * @author: TanJingyu
 * @create: 2021-03-09 15:25
 **/
public class StackTest {
    public static void main(String[] args) {
        CoderkStack<Integer> stack = new CoderkStack<>();
        System.out.println(stack.pop());

        stack.push(1);
        stack.push(2);
        stack.push(3);
        stack.push(4);

        System.out.println(stack.pop());
        System.out.println(stack.pop());
        System.out.println(stack.pop());
        System.out.println(stack.pop());
        System.out.println(stack.pop());
    }
}
